package com.example.schoolexam2.service;

import com.example.schoolexam2.dto.StudentDto;
import com.example.schoolexam2.entity.Student;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileInputStream;
import java.util.List;

public interface StudentService {
    //学生照片导入
    int studentPhoto(MultipartFile file);
    //学生信息导入
    int studentIncreases( MultipartFile file ,int RequestType ) throws Exception;
    //添加学生信息
    int studentIncrease(StudentDto student);
    //删除学生信息
    int studentDelete(String studentId,int isUser);
    //修改学生信息
    int studentUpdate(Student student);
    //查询学生个人信息
    List<Student> studentPersonal(String studentId);
    //模糊查询学生信息
    List<Student> studentFuzzy(String fuzzy);
    //查询班级所有学生
    List<Student> studentAll(String classId);

}
